<ion-view>
	<ion-content>
		<div class="content no-header ionic-pseudo">
			<form name="theForm" novalidate="novalidate">
				<div class="list card">
					<div class="item item-avatar">
						<img src="/Public/images/wkshop-logo.jpeg">
						<h2>【汪卡在线】-- 绑定提现银行卡</h2>
						<p>商户老板绑定提现银行卡页面</p>
					</div>
					<div class="item">
						<div class="list">
							<label class="item item-input">
								<span class="input-label">银行户名：</span>
								<input type="text" placeholder="银行户名" readonly value="{{formData.user_name}}">
							</label>
							<label class="item item-input">
								<span class="input-label">身份证号码：</span>
								<input type="text" placeholder="身份证号码" readonly value="{{formData.cert_id}}">
							</label>
							<div class="item item-input item-select">
								<div class="input-label">开户所在省：</div>
								<select name="card_prov" ng-model="formData.card_prov" required
								        ng-options="item as item.name for item in prov track by item.prov" ng-change="area()">
									<option value="" selected>请选择银行卡开户所在省份</option>
								</select>
							</div>
							<div class="item item-input item-select">
								<div class="input-label">开户所在市：</div>
								<select name="card_area" ng-model="formData.card_area" required ng-options="item as item.name for item in area track by item.area">
									<option value="" selected>请选择银行卡开户所在城市</option>
								</select>
							</div>
							<div class="item item-input item-select">
								<div class="input-label">开户银行：</div>
								<select name="area" ng-model="formData.bank_id" required ng-options="item as item.lable for item in bank track by item.code">
									<option value="" selected>请选择开户银行</option>
								</select>
							</div>
							<label class="item item-input">
								<span class="input-label">银行卡号：</span>
								<input type="tel" name="card_no" placeholder="请输入银行卡号" ng-model="formData.card_no" required>
							</label>
						</div>
					</div>
					<div class="row">
						<div class="col-10"></div>
						<div class="col-80">
							<button class="button button-small button-balanced button-block button-positive" ng-click="submit()" ng-disabled="!theForm.$valid">确定绑卡</button>
						</div>
						<div class="col-10"></div>
					</div>
				</div>
			</form>
		</div>
	</ion-content>
</ion-view>